﻿@using CodeGenerator.Core
@using System.Text
@{
    MybatisCodeCreate model = Model;
}
package @(model.EntityPackage);

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


public class @Pascal(model.Name) implements Serializable {
    @foreach (ColumnInfo column in model.TableInfo.ColumnList)
    {
    @:private @column.JavaType.Alias @Camel(column.Name);   // @column.Comments
    }

    @foreach (ColumnInfo column in model.TableInfo.ColumnList)
    {
     @:public @column.JavaType.Alias get@(Pascal(column.Name))() {
     @:   return @Camel(column.Name);
     @:}

     @:public void set@(Pascal(column.Name))(@column.JavaType.Alias @Camel(column.Name)) {
     @:    this.@Camel(column.Name) = @Camel(column.Name);
     @:}
    }
}
